{% extends 'partials/base.html' %}
{% block title %}修改个人信息{% endblock %}
{% load crispy_forms_tags %}
{% block content %}

<div class="container">
    <div class="row my-4">
        <div class="col-md-4"></div>
            <div class="col-md-8">
                <div class="card">
                    <div class="card-header bg-info text-white">
                         客户信息修改
                        <a class="btn btn-success btn-sm float-right" href="{% url 'user-profile'%}">编辑</a>
                    </div>
                    <form method="post" enctype="multipart/form-data">
                         {% csrf_token %}
                         {{user_form|crispy}}
                         {{profile_form|crispy}}
                         <input class="btn btn-info" type="submit" value="更新">
                    </form>
            </div>
        </div>
    </div>
</div>
{% endblock %}